using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_PhanBoLuanChuyenThietBiEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_PhanBoLuanChuyenThietBiEntity()
         {
             tableName = "TBL_PhanBoLuanChuyenThietBi";


			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","IDPhanBo","IDPhanBo","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","MaCaBiet","MaCaBiet","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","MaPB","MaPB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","MaTTTB","MaTTTB","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","MaVT","MaVT","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","NgayCap","NgayCap","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","NgayLapDat","NgayLapDat","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","NguoiCap","NguoiCap","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","NguoiNhanBanGiao","NguoiNhanBanGiao","string",10,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_PhanBoLuanChuyenThietBi","TrangThai","TrangThai","string",10,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_IDPhanBo;
		 protected string m_MaCaBiet;
		 protected string m_MaPB;
		 protected string m_MaTTTB;
		 protected string m_MaVT;
		 protected string m_NgayCap;
		 protected string m_NgayLapDat;
		 protected string m_NguoiCap;
		 protected string m_NguoiNhanBanGiao;
		 protected string m_TrangThai;

		 public Guid IDPhanBo

          { 
                get { 
                    return m_IDPhanBo;}

                set{m_IDPhanBo=value;

                    GetField("IDPhanBo").Set();
                    GetField("IDPhanBo").IsNull=(value == null);           
                    }
          }
		 public string MaCaBiet

          { 
                get { 
                    return m_MaCaBiet;}

                set{m_MaCaBiet=value;

                    GetField("MaCaBiet").Set();
                    GetField("MaCaBiet").IsNull=(value == null);           
                    }
          }
		 public string MaPB

          { 
                get { 
                    return m_MaPB;}

                set{m_MaPB=value;

                    GetField("MaPB").Set();
                    GetField("MaPB").IsNull=(value == null);           
                    }
          }
		 public string MaTTTB

          { 
                get { 
                    return m_MaTTTB;}

                set{m_MaTTTB=value;

                    GetField("MaTTTB").Set();
                    GetField("MaTTTB").IsNull=(value == null);           
                    }
          }
		 public string MaVT

          { 
                get { 
                    return m_MaVT;}

                set{m_MaVT=value;

                    GetField("MaVT").Set();
                    GetField("MaVT").IsNull=(value == null);           
                    }
          }
		 public string NgayCap

          { 
                get { 
                    return m_NgayCap;}

                set{m_NgayCap=value;

                    GetField("NgayCap").Set();
                    GetField("NgayCap").IsNull=(value == null);           
                    }
          }
		 public string NgayLapDat

          { 
                get { 
                    return m_NgayLapDat;}

                set{m_NgayLapDat=value;

                    GetField("NgayLapDat").Set();
                    GetField("NgayLapDat").IsNull=(value == null);           
                    }
          }
		 public string NguoiCap

          { 
                get { 
                    return m_NguoiCap;}

                set{m_NguoiCap=value;

                    GetField("NguoiCap").Set();
                    GetField("NguoiCap").IsNull=(value == null);           
                    }
          }
		 public string NguoiNhanBanGiao

          { 
                get { 
                    return m_NguoiNhanBanGiao;}

                set{m_NguoiNhanBanGiao=value;

                    GetField("NguoiNhanBanGiao").Set();
                    GetField("NguoiNhanBanGiao").IsNull=(value == null);           
                    }
          }
		 public string TrangThai

          { 
                get { 
                    return m_TrangThai;}

                set{m_TrangThai=value;

                    GetField("TrangThai").Set();
                    GetField("TrangThai").IsNull=(value == null);           
                    }
          }

}
}
